package com.itbaizhan.web;

import com.itbaizhan.pojo.Users;
import com.itbaizhan.service.UsersService;
import com.itbaizhan.service.impl.UsersServiceImpl;

import java.util.List;

//DML操作，查询数据的通用工具（baseDao）
public class test03 {
    public static void main(String[] args) {
        UsersService us = new UsersServiceImpl();
        List<Users> users = us.findUsersByLikeName("a");
        for(Users u:users){
            System.out.println(u);
        }
    }
}
